'use strict';

var _ = require('underscore');

module.exports = function(sequelize, DataTypes) {
    //文件表
    var Resource = sequelize.define('Resource', {
        fileData: {
            type: DataTypes.BLOB,
            allowNull: false,
            comment: '文件内容'
        }
    }, {
        charset: 'utf8',
        classMethods:{
            
        }
    });

    return Resource;
};
